The following documentation contains test scripts
and expected results for validating the CDISC Builder
tool. Do the following to verify proper
installation:
-
Perform each test by performing the steps specified
by the instructions.
- Evaluate the results of each step by comparing
them with results described in the Documentation
column.
Instructions 1 The following
instructions are accomplished through Windows Explorer.
-
Navigate to the validation directory named
"saspgm".
-
Right
mouse click on ordervar1.sas and select "Batch
Submit".
-
Review the ordervar1.log and verify that the
following message is produced:
Instructions 2 The following
instructions are accomplished through Windows Explorer.
-
Navigate to the validation directory named
"saspgm".
-
Right
mouse click on ordervar2.sas and select "Batch
Submit".
-
Review the ordervar2.log and verify that the
following messages are produced corresponding to each
test.
-
ERROR: [ordervar] has an invalid dataset: xyz.
-
ERROR: [ordervar] The domain must be in (
'AE', 'AU', 'BM', 'BR', 'CM', 'CO', 'CP',
'DC', 'DM', 'DR', 'DS', 'DV', 'DY', 'EE',
'EG', 'EX', 'FH', 'HU', 'IE', 'IM', 'LB',
'MB', 'MH', 'ML', 'NE', 'OM', 'PC', 'PE',
'PP', 'QS', 'SC', 'SE', 'SG', 'SK', 'SL',
'SS', 'ST', 'SU', 'SV', 'TA', 'TE', 'TI',
'TV', 'VS').
-
ERROR: [ordervar] was not able to find key: xyz
Instructions 3 The following
instructions are accomplished through Windows Explorer.
-
Navigate to the validation directory named
"saspgm".
-
Right
mouse click on ordervar3.sas and select "Batch
Submit".
-
Review the ordervar3.log and verify that the
following messages are produced corresponding to each
test.
Instructions 4 The following
instructions are accomplished through Windows Explorer.
-
Navigate to the data directory named
"saspgm\data\ordervar".
-
Open dataset 'ordervar4' and verify there is no
variable 'domain'.
-
Navigate to the validation directory named
"saspgm".
-
Right
mouse click on ordervar4.sas and select "Batch
Submit".
-
Review
the ordervar4.log and verify that there is no error message
and 1 warning message as the following:
-
Navigate
to the data directory named "data\ordervar".
-
Open
dataset 'odervar4' and verify that there is variable 'domain'
with blank value. Verify that dataset variables positions
(except key variable) are sorted order.
Instructions 5 The following
instructions are accomplished through Windows Explorer.
-
Navigate to the data directory named
"data\ordervar".
-
Open dataset 'ordervar5' and verify there is no
variable 'domain'.
-
Navigate to the validation directory named
"saspgm".
-
Right
mouse click on ordervar5.sas and select "Batch
Submit".
-
Review the ordervar5.log and verify that there is no
error message and warning message.
-
Open
dataset 'order5' and verify that there is variable 'domain'
with value "AE". Verify that dataset variables
positions (except key variable) are sorted order.
Instructions 6 The following
instructions are accomplished through Windows Explorer.
-
Navigate to the data directory named
"data\ordervar".
-
Open dataset 'ordervar6' and verify there is variable
'domain' and dataset variables positions are not sorted order.
-
Navigate to the validation directory named
"saspgm".
-
Right
mouse click on ordervar6.sas and select "Batch
Submit".
-
Review the ordervar6.log and verify that there is no
error message and warning message.
-
Navigate
to the data directory named "data\ordervar".
-
Open
dataset 'order6' and verify that dataset variables positions
are
sorted order.
Instructions 7 The following
instructions are accomplished through Windows Explorer.
-
Navigate to the validation directory named
"saspgm".
-
Right
mouse click on ordervar7.sas and select "Batch
Submit".
-
Review
the ordervar7.log and verify that there's 1 error message as
the following:
Instructions 8 The following
instructions are accomplished through Windows Explorer.
-
Navigate to the data directory named
"data\ordervar".
-
Open dataset 'ordervar8' and verify there's no
variable domain.
-
Navigate to the
"saspgm" folder. -
Right
mouse click on ordervar8a.sas and select "Batch
Submit".
-
Review the ordervar8a.log and verify that there is no
error message and warning message.
-
Verify
that file o_basecode8a.sas is generated.
-
Navigate
to the data directory named "data\ordervar".
-
Open
dataset 'ordervar8' and verify that there's variable 'domain'
with value "AE". Verify that data row is sorted by
key variable and then original sort order. Verify that
dataset variables positions (except key variables) are
sorted order.
-
Navigate to the "saspgm" folder.
-
Right
mouse click on ordervar8b.sas and select "Batch
Submit".
-
Review
the ordervar8b.log and verify that there is no error
message.
-
Verify
that file o_basecode8b.sas is generated.
-
Navigate
to the data directory named "data\ordervar".
-
Verify
that all datasets have variable 'domain'. Verify that data
row is sorted by key variable and then original sort order.
Verify that dataset variables positions (except key
variables) are sorted order.
-
Copy
all datasets (except dataset 'ae' and 'novar') from the folder
'Original' to the current
directory.
-
Copy
o_basecode8b.sas to a directory (such as "c:\temp").
-
Right mouse click on
o_basecode8b.sas and select "Batch Submit".
-
Navigate
to the data directory named "data\ordervar".
-
Verify
that all datasets have variable 'domain'. Verify that data
row is sorted by key variable and then original sort order.
Verify that dataset variables positions (except key
variables) are sorted order.
Instructions
9
The following
instructions are accomplished through Windows Explorer.
-
Navigate to the validation sub-directory named "saspgm".
-
Right
mouse click on the ordervar9.sas program and select "Batch
Submit".
-
The
"ORDERVAR - Order Variables by Key and Alphabetical" screen is displayed.
-
Verify
default value of
Source Data is current directory.
-
Click
on [...] button to navigate to the validation
sub-directory named "data\ordervar". Click OK
button to select this path.
-
Data
Sets list all datasets that locate in "data\ordervar"
directory.
-
Click
"Cancel" button to close the application. Batch
Submit "ordervar_gui.sas".
-
Verify
that Source Data brings the selected path of the last time and
Data Sets list lists datasets that locate in this path.
Instructions
10
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation sub-directory named "saspgm".
-
Right
mouse click on the ordervar_gui.sas program and select "Batch
Submit".
-
Select
path for Source Data field that navigates to the
directory of "data\ordervar".
-
Click
"Cancel" button.
-
Rename
"ordervar" folder to "ordervar_temp".
-
Right
mouse click on "cdiscgui.sas".
-
Right
mouse click on "cdiscgui.sas" again and verify
that the path in Source Data now is of current directory.
-
Rename
"ordervar_temp" folder to "ordervar".
Instructions
11
The following
instructions are accomplished through Windows Explorer.
-
Navigate to the validation sub-directory named "saspgm".
-
Right
mouse click on the cdiscgui.sas program and select
"Batch Submit".
-
The
"ORDERVAR - Order Variables by Key and Variable"
screen is displayed.
-
In
this screen, clear values in Source Data field
and hit enter.
-
A
warning message appears:
WARNING: The field (Source Data) contains a missing value.
-
Input
a path for Source Data that does not exist and hit Enter, another message
is displayed:
WARNING: The field (Source Data) contains non-existing
directory.
-
Type
a path that navigates to "data\ordervar" sub-directory such
as:
C:\temp\ordervar_test\testing\data\Ordervar and hit Enter.
-
Verify
the Data Sets list lists all data in this path.
Instructions
12
The following
instructions are accomplished through Windows Explorer.
-
Navigate to the validation sub-directory named "saspgm".
-
Right
mouse click on the cdiscgui.sas program and select
"Batch Submit".
-
The
"ORDERVAR - Order Variables by Key and Variable"
screen is displayed.
-
Clear values in Source Data field
and click "OK" button.
-
A
warning message appears:
WARNING: The field (Source Data) contains a missing value.
-
Input
a path that does not exist in Source Data and click
"OK", another message
is displayed:
WARNING: The field (Source Data) contains non-existing
directory.
-
Type
a path that navigates to "data\ordervar" sub-directory such
as:
C:\temp\ordervar_test\testing\data\Ordervar
-
Do
not hit enter. Click on the "OK" button.
-
Verify
that there is a message as follow:
WARNING: You have not confirmed your change of Source Data
to your system.
-
Close
that message box and hit enter.
-
Verify
the Data Sets list is refreshed and lists all data in this
path.
Instructions
13
The following
instructions are accomplished through Windows Explorer.
-
Navigate to the validation sub-directory named "saspgm".
-
Right
mouse click on the cdiscgui.sas program and select
"Batch Submit".
-
The
"ORDERVAR - Order Variables by Key and Variable"
screen is displayed.
-
Input
a path that does not contains any SAS datasets for Source
Data field.
-
Verify
the Data Sets list is empty.
-
Click
"OK" button.
-
A
warning message appears:
WARNING: The Data Sets list is empty.
-
Click
"OK" to close that message box.
-
Click
"Cancel" to out application.
Instructions
14
The following
instructions are accomplished through Windows Explorer.
-
Navigate to the data-directory named
"data\ordervar".
-
Copy
all datasets (except dataset 'ae' and 'novar') from the folder
' Original' to the current
directory.
-
Navigate to the validation sub-directory named "saspgm".
-
Right
mouse click on the cdiscgui.sas program and select
"Batch Submit".
-
The
"ORDERVAR - Order Variables by Key and Variable"
screen is displayed.
-
Select
path for Source Data field that navigates to the
directory of "data\ordervar".
-
Verify
the Data Sets list lists all SAS datasets in this folder.
-
Select
"NOVAR" dataset in Data Sets list
-
Verify
there are no variables displayed in Variables list.
-
Click
"OK" button.
-
A
warning message appears:
WARNING: The NOVAR dataset does not contain any variables.
-
Click
"OK" to close that message box.
-
Click
"Cancel" to out application.
Instructions
15
The following
instructions are accomplished through Windows Explorer.
-
Navigate to the validation sub-directory named "saspgm".
-
Right
mouse click on the cdiscgui.sas program and select
"Batch Submit".
-
The
"ORDERVAR - Order Variables by Key and Variable"
screen is displayed.
-
Select
path for Source Data field that navigates to the
directory of "data\ordervar".
-
Select
"AE" dataset in Data Sets list
-
Verify
variables of AE dataset are displayed in Variables list
and there is not variable named "DOMAIN".
-
Click
"OK" button.
-
A
warning message appears:
WARNING: The field (Related Domain) contains a missing
value.
-
Click
"OK" to close that message box.
-
Click
"Cancel" to out application.
Instructions
16
The following
instructions are accomplished through Windows Explorer.
-
Navigate to the validation sub-directory named "saspgm".
-
Right
mouse click on the cdiscgui.sas program and select
"Batch Submit".
-
The
"ORDERVAR - Order Variables by Key and Variable"
screen is displayed.
-
Select
path for Source Data field that navigates to the
directory of "data\ordervar".
-
Select
"AE" dataset in Data Sets list
-
Verify
variables of AE dataset are displayed in Variables list
and there is not variable named "DOMAIN".
-
Select
"AE - Adverse Events" for Related Domain field.
-
Input
Base code this value "c:\noexit\test.sas".
-
Click
"OK", the following message appears:
WARNING: The field (Base Code) contains an invalid
directory.
-
Type
"c:\temp\test.test", and click "OK"
again. A warning message box is displayed:
WARNING: The field (Base Code) contains an invalid sas
file name.
-
Click
Cancel button to end the program.
Instructions
17
The following
instructions are accomplished through Windows Explorer.
-
Navigate to the validation sub-directory named "saspgm".
-
Right
mouse click on the cdiscgui.sas program and select
"Batch Submit".
-
The
"ORDERVAR - Order Variables by Key and Variable"
screen is displayed.
-
Input
the following information:
Source Data: (path that navigate to "data\ordervar")
Data Sets list: AE
Related Domain: AE - Adverse Events
-
Navigate
to "data\ordervar" and open "AE"
dataset.
-
Come
back the application and click "OK" button.
-
Verify
a message box is displayed as follow:
WARNING: The existing source dataset (AE) is not available
to be updated.
-
Click
"OK" to close that message box.
-
Click
"Cancel" to out application.
Instructions
18
The following
instructions are accomplished through Windows Explorer.
-
Navigate to the validation sub-directory named "saspgm".
-
Right
mouse click on the cdiscgui.sas program and select
"Batch Submit".
-
The
"ORDERVAR - Order Variables by Key and Variable"
screen is displayed.
-
Input
the following information:
Source Data: (path that navigate to "data\ordervar")
Data Sets list: AE
-
In
Variables list, select 10 variables and click '>>'
button.
-
Verify
the Keys list lists all selected variables.
-
Select
another variable in Variables list and click button
'>>' again.
-
A
message box is displayed as follow:
WARNING: The Keys list contains a number of variables that
exceeds the maximum of 10.
-
Click
"OK" to close that message box.
-
Click
"Cancel" to out application.
Instructions
19
The following
instructions are accomplished through Windows Explorer.
-
Navigate to the validation sub-directory named "saspgm".
-
Right
mouse click on the cdiscgui.sas program and select
"Batch Submit".
-
The
"ORDERVAR - Order Variables by Key and Variable"
screen is displayed.
-
Input
information for this screen as follow:
Source Data: path that navigate to "data\ordervar"
validation directory.
Data Sets: AE.
Keys list: PTID, ONSTDT1
Related Domain: AE - Adverse Events.
Base code: c:\temp\ordervar_ae_base.sas
-
Click
on the "Save Code..." button to open "Save
Code" screen.
-
Verify
that Path contains the current directory.
-
Type
"save_ordervar19" in Filename and then click the
"OK" button.
-
The
program shows "save_ordervar19.sas" contains
code that has been saved in editor and this can be
verified against the "save_ordervar19.sas" found
in the benchmark area.
-
Close
the program and open "ordervargui.log" to verify
that there is no error message generated.
For more information, please contact MXI
.
|